toggle menu
JxBrowser
8.0.0-eap.5
jvm
switch theme
search in API
JxBrowser
/
com.teamdev.jxbrowser.net
/
[jvm]ContentType
Content
Type
interface
ContentType
A parsed
Content-Type
header value.
Since
7.33
Members
Types
Builder
Link copied to clipboard
class
Builder
A builder of
ContentType
.
Functions
boundary
Link copied to clipboard
open
fun
boundary
(
)
:
Optional
<
String
>
Returns the boundary specified in the
Content-Type
header or an empty
Optional
if the header does not contain a boundary.
charset
Link copied to clipboard
open
fun
charset
(
)
:
Optional
<
String
>
Returns the charset specified in the
Content-Type
header or an empty
Optional
if the header does not contain a charset.
media
Type
Link copied to clipboard
open
fun
mediaType
(
)
:
String
Returns the media type (the MIME type) specified in the
Content-Type
header.
new
Builder
Link copied to clipboard
open
fun
newBuilder
(
mediaType
:
String
)
:
ContentType.Builder
Create a new
ContentType
builder.